import socket
import sys

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 
host = '139.196.89.155'
port = 25565
s.connect((host, port))

msg = s.recv(1024)
s.close()
print (msg.decode('utf-8'))